package com.weixin.entity;

import java.util.Date;

import com.weixin.common.BaseEntity;

public class TbWxMessage extends BaseEntity implements java.io.Serializable {
	
	private static final long serialVersionUID = 559804377839068102L;
	private int nWxMessageId;
	// 所属用户ID
	private int nUserId;
	// 消息标题
	private String sTitle;
	// 消息描叙
	private String sDescription;
	// 图片URL（支持JPG、PNG格式，较好的效果为大图640*320，小图80*80）
	private String sPicUrl;
	// 点击跳转链接ID
	private int nWxUserUrlId;
	// 点击跳转链接
	private String sWxUserUrl;
	// 消息类型（1.文本 2图片 3语音 4视频 5 音乐 6图文）
	private int ntype;
	// 消息回复类型（1.关注回复 2自动回复 3自定义菜单回复 4关键字回复）
	private int nReplyType;
	// 是否有效 1-有效；2-无效
	private int nIsValid;
	// 创建时间
	private Date dCreateTime;
	// 显示消息的顺序 按数字从小到大排列
	private int nOrder;
	// key值 ：用于自定义菜单回复 一组相同key值 为一条消息
	private int nKey;

	public int getNKey() {
		return nKey;
	}

	public void setNKey(int key) {
		nKey = key;
	}

	public int getNOrder() {
		return nOrder;
	}

	public void setNOrder(int order) {
		nOrder = order;
	}

	public int getNWxMessageId() {
		return nWxMessageId;
	}

	public void setNWxMessageId(int wxMessageId) {
		nWxMessageId = wxMessageId;
	}

	public int getNUserId() {
		return nUserId;
	}

	public void setNUserId(int userId) {
		nUserId = userId;
	}

	public String getSTitle() {
		return sTitle;
	}

	public void setSTitle(String title) {
		sTitle = title;
	}

	public String getSDescription() {
		return sDescription;
	}

	public void setSDescription(String description) {
		sDescription = description;
	}

	public String getSPicUrl() {
		return sPicUrl;
	}

	public void setSPicUrl(String picUrl) {
		sPicUrl = picUrl;
	}

	public int getNWxUserUrlId() {
		return nWxUserUrlId;
	}

	public void setNWxUserUrlId(int wxUserUrlId) {
		nWxUserUrlId = wxUserUrlId;
	}

	public int getNtype() {
		return ntype;
	}

	public void setNtype(int ntype) {
		this.ntype = ntype;
	}

	public int getNReplyType() {
		return nReplyType;
	}

	public void setNReplyType(int replyType) {
		nReplyType = replyType;
	}

	public int getNIsValid() {
		return nIsValid;
	}

	public void setNIsValid(int isValid) {
		nIsValid = isValid;
	}

	public Date getDCreateTime() {
		return dCreateTime;
	}

	public void setDCreateTime(Date createTime) {
		dCreateTime = createTime;
	}

	public String getSWxUserUrl() {
		return sWxUserUrl;
	}

	public void setSWxUserUrl(String wxUserUrl) {
		sWxUserUrl = wxUserUrl;
	}

}
